TortoiseSVN post-commit.bat doesn't work [migrated]

Posted by user565739 on Programmers See other posts from Programmers or by user565739
Published on 2013-11-13T12:28:24Z Indexed on 2013/11/13 16:15 UTC
Read the original article Hit count: 414

Filed under:
|
|

I am using TortoiseSVN on Windows 7 x64. I tried to put a post-commit.bat in the hooks folder of a repository, but it doesn't work at all. So I tried to put a pre-commit.bat (the content is exact the same as post-commit.bat) in hooks, and it worked fine.

This is very strange. The .bat file is very simple, I just tried with:

@echo off
setlocal
set REPOS=%1
set TXN=%2  
xcopy C:\a C:\b\ /S /F
exit 0

Anyone makes post-commit work with TortoiseSVN?

© Programmers or respective owner

Related posts about version-control

Related posts about svn